/**
 * Excalidraw附件相关接口定义
 */

/**
 * Excalidraw附件实体
 */
export interface IExcalidrawAttach {
  id?: number;
  knowledge_id: number;
  excalidraw_json_url: string;
  image_url?: string;
  created_at?: string;
  updated_at?: string;
}

/**
 * Excalidraw附件创建参数
 */
export interface IExcalidrawAttachCreateOptions {
  knowledge_id: number;
  excalidraw_json_url: string;
  image_url?: string;
}

/**
 * Excalidraw附件更新参数
 */
export interface IExcalidrawAttachUpdateOptions {
  id: number;
  knowledge_id?: number;
  excalidraw_json_url?: string;
  image_url?: string;
}